##parameters=assessmentIdentity, exitURL=None, isPopup=None

ass = context.knowledgeengine_assessmentstorageservice

assessment = ass.loadAssessment( assessmentIdentity )
model = assessment.getModel()

url = model.absolute_url() + "/assess?assessmentIdentity=" + assessmentIdentity

if exitURL:
    # HACK
    url += "&exitURL=" + exitURL.replace("&","%26").replace("?","%3F").replace("=","%3D")
    
if isPopup:
    url += "&isPopup=" + isPopup
    
      
return context.REQUEST.RESPONSE.redirect( url )